﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace t_205_verk_hopur_12.Models
{
    public class ScheduleIndexViewModel
    {
        public Channel Channel { get; set; }
        public List<IQueryable<ScheduleVideo>> Week { get; set; }
        public DateTime dayOfThisWeek { get; set; }
        public DateTime dayOfLastWeek { get; set; }
        public DateTime dayOfNextWeek { get; set; }
        public bool IsOwner { get; set; }
        
        public ScheduleIndexViewModel()
        {
        }

        public ScheduleIndexViewModel(Channel argChannel, List<IQueryable<ScheduleVideo>> argWeek, 
                                      DateTime argDayOfThisWeek, DateTime argDayOfLastWeek,
                                      DateTime argDayOfNextWeek, bool argIsOwner)
        {
            Channel = argChannel;
            Week = argWeek;
            dayOfThisWeek = argDayOfThisWeek;
            dayOfLastWeek = argDayOfLastWeek;
            dayOfNextWeek = argDayOfNextWeek;
            IsOwner = argIsOwner;
        }
    }
}
